package com.hnguigu.health.pojo;

import java.io.Serializable;
import java.util.Date;

public class TRole implements Serializable {
    private Integer id;

    private String name2;

    private String keyword;

    private String description;

    private Date createtime;

    private Date updatetime;

    private TUserRole tUserRole;

    private TUser tUser;

    public String getName2() {
        return name2;
    }

    public void setName2(String name2) {
        this.name2 = name2;
    }

    public TUserRole gettUserRole() {
        return tUserRole;
    }

    public void settUserRole(TUserRole tUserRole) {
        this.tUserRole = tUserRole;
    }

    public TUser gettUser() {
        return tUser;
    }

    public void settUser(TUser tUser) {
        this.tUser = tUser;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name2;
    }

    public void setName(String name) {
        this.name2 = name == null ? null : name.trim();
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword == null ? null : keyword.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}